<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <th:block th:include="tpl :: common_head()"></th:block>
</head>
<body th:object="${obj}">
<form class="form" style="width: 500px;height: 500px;margin-left: 20%">
    <fieldset style="border: solid 0px #e7e7eb;">
        <legend>详情</legend>
        <dl>
            <dt>姓名</dt>
            <dd>
                <input type="text" th:field="*{name}" data-verify="required(1)" disabled/>
            </dd>
            <dt>所属物流公司</dt>
            <dd>
                <input type="text" th:field="*{OrgName}" data-verify="required(1)" disabled/>
            </dd>
            <dt>头像</dt>
            <dd>
                <img style="width:300px" th:src="*{@imageService.getImageBasePath()+headImg}"/>
            </dd>
            <div th:each="idType:${attachment}">
                <dt th:if="${idType.type == 0}">身份证正面</dt>
                <dt th:if="${idType.type == 1}">身份证反面</dt>
                <dt th:if="${idType.type == 2}">驾驶证</dt>
                <dt th:if="${idType.type == 3}">行驶证</dt>
                <dd>
                    <img style="width:400px" th:src="*{@imageService.getImageBasePath()}+${idType.attachment}"/>
                </dd>
            </div>
        </dl>
    </fieldset>
</form>
</body>

<style>
    .form dt {
        width: 135px;
    }
</style>
</html>